package com.motion.design.stratege;

public class StrategyContext {

    public Strategy strategy;

    public void setStrategy(Strategy strategy) {
        this.strategy = strategy;
    }

    public void doSale() {
        if (strategy != null) {
            strategy.doStrategy();
        }
    }
}
